package org.vehicle.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.vehicle.dao.TripBusRecordMapper;
import org.vehicle.entity.TripBusRecord;
import org.vehicle.service.TripBusRecordService;
import org.vehicle.service.base.BaseServiceImpl;
@Service
public class TripBusRecordServiceImpl extends BaseServiceImpl<TripBusRecord, Long> implements TripBusRecordService{
	@Autowired
	private TripBusRecordMapper tripBusRecordMapper;
	
    public TripBusRecord findSingleTripBusByIdTripId(Map<String, Object> paramMap){
		
    	return tripBusRecordMapper.findSingleTripBusByIdTripId(paramMap);
    }

    public List<TripBusRecord> findTripBusListByIdTripId(Long tripId){
		
    	return tripBusRecordMapper.findTripBusListByIdTripId(tripId);
    }
}